<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <!--360浏览器优先以webkit内核解析-->
        <title> - 主页示例</title>
        <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
        <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
        <link href="css/animate.css" rel="stylesheet">
        <link href="css/style.css?v=4.1.0" rel="stylesheet">
    </head>

    <body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInUp">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox">
                    <div class="ibox-title">
                        <h5>所有项目</h5>
                    </div>
                    <div class="ibox-content">
                        <div class="row m-b-sm m-t-sm">
                            <div class="col-md-1">
                                <button type="button" id="loading-example-btn" class="btn btn-white btn-sm">
                                    <i class="fa fa-refresh"></i> 刷新</button>
                            </div>
                            <div class="col-md-11">
                                <div class="input-group">
                                    <input type="text" placeholder="请输入项目名称" class="input-sm form-control"> <span class="input-group-btn">
                                    <button type="button" class="btn btn-sm btn-primary"> 搜索</button> </span>
                                </div>
                            </div>
                        </div>

                        <div class="project-list">
                            <table class="table table-hover">
                                <tbody>
                                <tr>
                                    <td class="project-status">
                                        <span class="label label-primary">五星</span>
                                    </td>
                                    <td class="project-title">
                                        <a href="project_detail.html">程序员私活圈</a>
                                        <br/>
                                        <small>创建于 2014.08.15</small>
                                    </td>
                                    <td class="project-completion">
                                        <%--                                        <small>当前进度： 28%</small>--%>
                                        <%--                                        <div class="progress progress-mini">--%>
                                        <%--                                            <div style="width: 28%;" class="progress-bar"></div>--%>
                                        <%--                                        </div>--%>
                                    </td>
                                    <td class="project-people">
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a7.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a6.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a3.jpg"></a>--%>
                                    </td>
                                    <td class="project-actions">
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-folder"></i> 查看 </a>
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="project-status">
                                        <span class="label label-primary">五星</span>
                                    </td>
                                    <td class="project-title">
                                        <a href="project_detail.html">程序员私活圈</a>
                                        <br/>
                                        <small>创建于 2014.08.15</small>
                                    </td>
                                    <td class="project-completion">
                                        <%--                                        <small>当前进度： 28%</small>--%>
                                        <%--                                        <div class="progress progress-mini">--%>
                                        <%--                                            <div style="width: 28%;" class="progress-bar"></div>--%>
                                        <%--                                        </div>--%>
                                    </td>
                                    <td class="project-people">
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a7.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a6.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a3.jpg"></a>--%>
                                    </td>
                                    <td class="project-actions">
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-folder"></i> 查看 </a>
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="project-status">
                                        <span class="label label-primary">五星</span>
                                    </td>
                                    <td class="project-title">
                                        <a href="project_detail.html">程序员私活圈</a>
                                        <br/>
                                        <small>创建于 2014.08.15</small>
                                    </td>
                                    <td class="project-completion">
                                        <%--                                        <small>当前进度： 28%</small>--%>
                                        <%--                                        <div class="progress progress-mini">--%>
                                        <%--                                            <div style="width: 28%;" class="progress-bar"></div>--%>
                                        <%--                                        </div>--%>
                                    </td>
                                    <td class="project-people">
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a7.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a6.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a3.jpg"></a>--%>
                                    </td>
                                    <td class="project-actions">
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-folder"></i> 查看 </a>
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="project-status">
                                        <span class="label label-primary">五星</span>
                                    </td>
                                    <td class="project-title">
                                        <a href="project_detail.html">程序员私活圈</a>
                                        <br/>
                                        <small>创建于 2014.08.15</small>
                                    </td>
                                    <td class="project-completion">
                                        <%--                                        <small>当前进度： 28%</small>--%>
                                        <%--                                        <div class="progress progress-mini">--%>
                                        <%--                                            <div style="width: 28%;" class="progress-bar"></div>--%>
                                        <%--                                        </div>--%>
                                    </td>
                                    <td class="project-people">
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a7.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a6.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a3.jpg"></a>--%>
                                    </td>
                                    <td class="project-actions">
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-folder"></i> 查看 </a>
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="project-status">
                                        <span class="label label-primary">五星</span>
                                    </td>
                                    <td class="project-title">
                                        <a href="project_detail.html">程序员私活圈</a>
                                        <br/>
                                        <small>创建于 2014.08.15</small>
                                    </td>
                                    <td class="project-completion">
                                        <%--                                        <small>当前进度： 28%</small>--%>
                                        <%--                                        <div class="progress progress-mini">--%>
                                        <%--                                            <div style="width: 28%;" class="progress-bar"></div>--%>
                                        <%--                                        </div>--%>
                                    </td>
                                    <td class="project-people">
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a7.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a6.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a3.jpg"></a>--%>
                                    </td>
                                    <td class="project-actions">
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-folder"></i> 查看 </a>
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="project-status">
                                        <span class="label label-primary">五星</span>
                                    </td>
                                    <td class="project-title">
                                        <a href="project_detail.html">程序员私活圈</a>
                                        <br/>
                                        <small>创建于 2014.08.15</small>
                                    </td>
                                    <td class="project-completion">
                                        <%--                                        <small>当前进度： 28%</small>--%>
                                        <%--                                        <div class="progress progress-mini">--%>
                                        <%--                                            <div style="width: 28%;" class="progress-bar"></div>--%>
                                        <%--                                        </div>--%>
                                    </td>
                                    <td class="project-people">
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a7.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a6.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a3.jpg"></a>--%>
                                    </td>
                                    <td class="project-actions">
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-folder"></i> 查看 </a>
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="project-status">
                                        <span class="label label-primary">五星</span>
                                    </td>
                                    <td class="project-title">
                                        <a href="project_detail.html">程序员私活圈</a>
                                        <br/>
                                        <small>创建于 2014.08.15</small>
                                    </td>
                                    <td class="project-completion">
                                        <%--                                        <small>当前进度： 28%</small>--%>
                                        <%--                                        <div class="progress progress-mini">--%>
                                        <%--                                            <div style="width: 28%;" class="progress-bar"></div>--%>
                                        <%--                                        </div>--%>
                                    </td>
                                    <td class="project-people">
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a7.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a6.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a3.jpg"></a>--%>
                                    </td>
                                    <td class="project-actions">
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-folder"></i> 查看 </a>
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="project-status">
                                        <span class="label label-primary">五星</span>
                                    </td>
                                    <td class="project-title">
                                        <a href="project_detail.html">程序员私活圈</a>
                                        <br/>
                                        <small>创建于 2014.08.15</small>
                                    </td>
                                    <td class="project-completion">
                                        <%--                                        <small>当前进度： 28%</small>--%>
                                        <%--                                        <div class="progress progress-mini">--%>
                                        <%--                                            <div style="width: 28%;" class="progress-bar"></div>--%>
                                        <%--                                        </div>--%>
                                    </td>
                                    <td class="project-people">
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a7.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a6.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a3.jpg"></a>--%>
                                    </td>
                                    <td class="project-actions">
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-folder"></i> 查看 </a>
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="project-status">
                                        <span class="label label-primary">五星</span>
                                    </td>
                                    <td class="project-title">
                                        <a href="project_detail.html">程序员私活圈</a>
                                        <br/>
                                        <small>创建于 2014.08.15</small>
                                    </td>
                                    <td class="project-completion">
                                        <%--                                        <small>当前进度： 28%</small>--%>
                                        <%--                                        <div class="progress progress-mini">--%>
                                        <%--                                            <div style="width: 28%;" class="progress-bar"></div>--%>
                                        <%--                                        </div>--%>
                                    </td>
                                    <td class="project-people">
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a7.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a6.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a3.jpg"></a>--%>
                                    </td>
                                    <td class="project-actions">
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-folder"></i> 查看 </a>
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="project-status">
                                        <span class="label label-primary">五星</span>
                                    </td>
                                    <td class="project-title">
                                        <a href="project_detail.html">程序员私活圈</a>
                                        <br/>
                                        <small>创建于 2014.08.15</small>
                                    </td>
                                    <td class="project-completion">
                                        <%--                                        <small>当前进度： 28%</small>--%>
                                        <%--                                        <div class="progress progress-mini">--%>
                                        <%--                                            <div style="width: 28%;" class="progress-bar"></div>--%>
                                        <%--                                        </div>--%>
                                    </td>
                                    <td class="project-people">
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a7.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a6.jpg"></a>--%>
                                        <%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a3.jpg"></a>--%>
                                    </td>
                                    <td class="project-actions">
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-folder"></i> 查看 </a>
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="project-status">
                                        <span class="label label-primary">五星</span>
                                    </td>
                                    <td class="project-title">
                                        <a href="project_detail.html">程序员私活圈</a>
                                        <br/>
                                        <small>创建于 2014.08.15</small>
                                    </td>
                                    <td class="project-completion">
<%--                                        <small>当前进度： 28%</small>--%>
<%--                                        <div class="progress progress-mini">--%>
<%--                                            <div style="width: 28%;" class="progress-bar"></div>--%>
<%--                                        </div>--%>
                                    </td>
                                    <td class="project-people">
<%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a7.jpg"></a>--%>
<%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a6.jpg"></a>--%>
<%--                                        <a href="projects.html"><img alt="image" class="img-circle" src="../img/a3.jpg"></a>--%>
                                    </td>
                                    <td class="project-actions">
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-folder"></i> 查看 </a>
                                        <a href="projects.html#" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 全局js -->
    <script src="/js/jquery.min.js?v=2.1.4"></script>
    <script src="/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- 自定义js -->
    <script src="/js/content.js?v=1.0.0"></script>
    <script src="${pageContext.request.contextPath}/lay-ui/lib/layui-v2.6.3/layui.js" merge="true"></script>
    <script>
        var username=window.sessionStorage.getItem("username");
        alert('欢迎您！'+username);
        $(document).ready(function(){
            $('#loading-example-btn').click(function () {
                btn = $(this);
                simpleLoad(btn, true)
                // Ajax example
                //                $.ajax().always(function () {
                //                    simpleLoad($(this), false)
                //                });
                simpleLoad(btn, false)
            });
        });

        function simpleLoad(btn, state) {
            if (state) {
                btn.children().addClass('fa-spin');
                btn.contents().last().replaceWith(" Loading");
            } else {
                setTimeout(function () {
                    btn.children().removeClass('fa-spin');
                    btn.contents().last().replaceWith(" Refresh");
                }, 2000);
            }
        }
    </script>
    </body>
</html>
